import { createApp } from 'vue'
import './style.css'
import HelloWorld from './components/HelloWorld.vue'
import App from './App.vue'
import i18n from './plugins/i18n'
import directivePlugin from './plugins/directive'
import componentPlugin from './plugins/components'
console.log(import.meta.env.VITE_BASE_URL)
console.log(import.meta.env.VITE_PRODUCTION_ALL)
createApp(App).use(i18n, {
  'en':{
    name: 'Name',
    age: 'Age'
  },
  'ch': {
    name: '姓名',
    age: '年龄'
  }
}).component('HelloWorld', HelloWorld).use(directivePlugin).use(componentPlugin).mount('#app')
